import { post } from "@/utils/api"

export function upload(file) {
    return post('/admin/common/upload', file)
}

export function uploadFiles(files) {
    return post('/admin/common/upload/files', files, { headers: {'Cotent-Type': 'multipart/form-data'} })
}